home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
utmisc1
/
symdiff.lha
/
symdiff.doc
< prev
Wrap
Text File
|
1996-05-07
|
3KB
|
127 lines
SymDiff V1.0
============
©1996 by Matthias Meixner
License/Disclaimer
------------------
SymDiff (C) Copyright 1996 by Matthias Meixner. All rights reserved.
You may freely distribute this program as long as the following is
fulfilled:
- No profit is to be made by selling this program.
- All files are included in the distribution without any
modifications
- The commercial use and distribution of this program or parts of
it is not allowed without my written permission.
(This also includes the use in Shareware-packages!)
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What's the use of SymDiff
-------------------------
SymDiff allows you to symbolically differentiate functions.
E.g. transform
x^2 -> 2*x
x^(a^x) -> x^(a^x)*(a^x*ln(a)*ln(x)+a^x/x)
Furthermore it is able to "optimize" funtions up to a certain
degree. E.g.:
(2*x-x)/x+a -> 1+a
Usage
-----
There are two versions of SymDiff for Amigas with and without FPU:
symdiff_no_fpu - for Amigas without FPU
symdiff_881 - for Amigas equipped with an FPU
Its quite easy to use SymDiff. Just call it with the funtion you
want to have differentiated. Optionally you can give the variable
for the differentiation.
SymDiff cos(x)+sin(y)
Will produce the follwing output:
cos(x)+sin(y)
Optimized:
cos(x)+sin(y)
Differentiated:
-sin(x)
Or to differentiate by y:
SymDiff cos(x)+sin(y) y
cos(x)+sin(y)
Optimized:
cos(x)+sin(y)
Differentiated:
cos(y)
What's supported
----------------
Symdiff supports the following variables:
a,b,c,d,x,y,z
It supports the following functions:
sinh(),cosh(),tanh(),sin(),cos(),tan(),cot(),arcsin(),arccos(),
arctan(),exp(),ln(),log(),sqrt(),sgn(),abs(),int()
NOTE: Some of these functions cannot be differentiated (e.g. sgn()).
Contact address
---------------
Send bug-reports, suggestions, parcels, money or ??? to
meixner@rbg.informatik.th-darmstadt.de
or
Matthias Meixner
Sandberg 13
36145 Schwarzbach
Germany